package com.jinrustar.op.core.base;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;


public interface BaseMapper<T extends BaseModel> extends com.baomidou.mybatisplus.mapper.BaseMapper<T> {
//    List<Long> selectIdsByMap(RowBounds rowBounds, @Param("cm") Map<String, Object> params);
    List<Map> selectIdsByMap(RowBounds rowBounds, @Param("cm") Map<String, Object> params);


    List<Map> queryAll(Pagination pagination, @Param("cm") Map params);
}
